home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 132_01 / graph.h < prev    next >
Encoding:
C/C++ Source or Header  |  1985-08-19  |  1.4 KB  |  61 lines

  1. #DEFINE    NBYTES    32
  2. #DEFINE    PIXBYT    8    /* number of x pixels per byte, hi res */
  3. #DEFINE NULL 0
  4. #DEFINE    EOF -1
  5. #DEFINE    UPDATE    32768
  6. #DEFINE    UPPG0    16384
  7. #DEFINE    UPPG1    8192    /* master,page0,page1 update flags */
  8. #DEFINE    UPALL    57344    /* Update both pages and flag it   */
  9. #DEFINE MOVER    128
  10. #DEFINE ERASE    64
  11. #DEFINE WRITE    32
  12. #DEFINE    NEWOBJ    16
  13. #DEFINE    EXPLODE    8
  14. #DEFINE BLANKED 1
  15. /*
  16.     Define list positions.
  17. */
  18. #DEFINE FORWARD 0
  19. #DEFINE NUMBER  1
  20. #DEFINE X    2
  21. #DEFINE Y    3
  22. #DEFINE FLAGS    4
  23. #DEFINE OBJPTR  5
  24. /*
  25.     Page block stops here. Master block continues.
  26. */
  27. #DEFINE    XINCR    6
  28. #DEFINE    YINCR    7
  29. #DEFINE    XACCUM    8
  30. #DEFINE    YACCUM    9
  31. #DEFINE    LISTP    10
  32. #DEFINE    COUNT    11
  33. #DEFINE    PROC    12
  34. #DEFINE    PROCEXP    13
  35. #DEFINE    CLASS    14
  36. #DEFINE    SPAREF    15
  37. #DEFINE MASLEN  16  /* length of master list block */
  38. #DEFINE PGLEN  6  /* length of a display page block */
  39. #DEFINE NMASTER 160 /* total size of master array (10 OBJECTS) */
  40. #DEFINE NPAGE    60 /* total size of page list (10 objects)    */
  41. /*
  42.     Screen Parameters
  43. */
  44. #DEFINE PAGE0    1536
  45. #DEFINE PAGE1    7680
  46. #DEFINE    PGSIZE    6144
  47. /*
  48.     List offsets in an object definition block
  49. */
  50. #DEFINE    OBJNUM    1
  51. #DEFINE    XMAX    2
  52. #DEFINE    YMAX    3
  53. /*
  54.     Joystick locations
  55. */
  56. #DEFINE    JOYRX     346
  57. #DEFINE    JOYRY    347
  58. #DEFINE    JOYLX    348
  59. #DEFINE    JOYLY    349    /* joystick left y and x, joystick right */
  60. 
  61. â_╤»╛┬╧#7╔╒#yµ╩╛╩≡╤├╓y┴╖╔═^>E┌>»2╞82╟8═P▄⌠>╢w##^#V